# A Cancer Graph
Neo4j lung cancer repository

ACancerGraph version 1.0 

A Lung Cancer property graph using Neo4j

Download and install the appropriate version of Neo4J at:
    
    https://neo4j.com/download/    

    tar -zxvf neo4j-community-4.3.1-unix.tar.gz


further information available at http://neo4j.com/documentation




### Two options exist for recreating the database

### Option 1: load csv files using cypher 'LOAD CSV' command
 
   download all csv files from the dataverse
    Move the data files to neo4j folder

    mv *.csv neo4j-community-4.3.1/import 

From Neo4j browser run the cyper commands to create indexes/constraints and load csv files

    makeIndexesConstraints.cql

    ACancerGraphLoader.cql


### Option 2: load binary database dump file into Neo4j version 4.3.1

 download the binary file: lung-cancer-graph-neo4j-2021-07-15T022024.bin
 
 from working directory of Neo4j version 4.3.1

    bin/neo4j-admin load from=<PATH_TO_BINARY_DUMPFILE>/lung-cancer-graph-neo4j-2021-07-15T022024.bin 

 
